from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app

from log_cat.jpg_client_info import JPGClientHandler
from log_cat.swf_client_info import *

url_prefix = '/log-cat/'
url_entries = [
    (url_prefix+'[0-9a-f\\-]+/client\\.jpg', JPGClientHandler),
    (url_prefix+'[0-9a-f\\-]+/client\\.swf', SWFClientHandler),
    (url_prefix+'[0-9a-f\\-]+/clock\\.swf', SWFClockHandler),
]
application = webapp.WSGIApplication(url_entries, debug=True)

def start():
    run_wsgi_app(application)

if __name__ == '__main__':
    start()